package com.qqtech.qquan.order.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class OrderItemQuery extends OrderItem{
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	
	/* 包括-id列表 */
	private java.util.List<Integer> includeIds;
	
	/** 是否外部供应商订单:1-是;2-否*/
	private java.lang.Integer isExternal;
	
	/**
	 * 查询开始时间
	 */
	private java.sql.Timestamp startAt;
	/**
	 * 查询结束时间
	 */
	private java.sql.Timestamp endAt;
	
	/**
	 * 社区id
	 */
	private java.lang.Integer communityId;
	
	
	public void setStartAtStr(String v) {
		this.setStartAt(TimeUtil.getTimeByDatetimeLocal(v));
	}
	
	public void setEndAtStr(String v) {
		this.setEndAt(TimeUtil.getTimeByDatetimeLocal(v));
	}

	public java.sql.Timestamp getStartAt() {
		return startAt;
	}

	public void setStartAt(java.sql.Timestamp startAt) {
		this.startAt = startAt;
	}

	public java.sql.Timestamp getEndAt() {
		return endAt;
	}

	public void setEndAt(java.sql.Timestamp endAt) {
		this.endAt = endAt;
	}

	public java.util.List<Integer> getIncludeIds() {
		return includeIds;
	}

	public void setIncludeIds(java.util.List<Integer> includeIds) {
		this.includeIds = includeIds;
	}

	public java.lang.Integer getIsExternal() {
		return isExternal;
	}

	public void setIsExternal(java.lang.Integer isExternal) {
		this.isExternal = isExternal;
	}

	public java.lang.Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}
}